package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_pms_zt database table.
 * 
 */
@Entity
@Table(name="per_pms_zt")
@NamedQuery(name="PerPmsZt.findAll", query="SELECT p FROM PerPmsZt p")
public class PerPmsZt implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int ztid;

	private String ztback;

	private String zthost;

	private String ztzts;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	public PerPmsZt() {
	}

	public int getZtid() {
		return this.ztid;
	}

	public void setZtid(int ztid) {
		this.ztid = ztid;
	}

	public String getZtback() {
		return this.ztback;
	}

	public void setZtback(String ztback) {
		this.ztback = ztback;
	}

	public String getZthost() {
		return this.zthost;
	}

	public void setZthost(String zthost) {
		this.zthost = zthost;
	}

	public String getZtzts() {
		return this.ztzts;
	}

	public void setZtzts(String ztzts) {
		this.ztzts = ztzts;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

}